package functions 
{	import functions.FunctionNode;	/**
	 * @author admin
	 */
	public class PrognFunctionNode extends FunctionNode 
	{
		
		public function PrognFunctionNode()
		{
			funcname = "progn";	
			functiontype = FUNCTION;		}
		
		override public function getValue( args : XML, scope : Object ) : XML
		{
			//Since the args are evaluated before being passed to a normal function,
			//we literally don't have to do anything to evaluate them!
				
			return args.children()[ args.children().length() - 1 ];
		}
	}}